/*
 ============================================================================
 Name		: TheWebApplication.cpp
 Author	  : Vitaly Yevtushenko
 Copyright   : Licensed under GPL V2
 Description : Main application class
 ============================================================================
 */

// INCLUDE FILES
#include "TheWeb.hrh"
#include "TheWebDocument.h"
#include "TheWebApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CTheWebApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CTheWebApplication::CreateDocumentL()
	{
	// Create an TheWeb document, and return a pointer to it
	return CTheWebDocument::NewL(*this);
	}

// -----------------------------------------------------------------------------
// CTheWebApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CTheWebApplication::AppDllUid() const
	{
	// Return the UID for the TheWeb application
	return KUidTheWebApp;
	}

// End of File
